/*
 * Copyright (c) $today.year-Now http://www.zxpnet.com All rights reserved.
 */

package com.zxp.springboot.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @desc:
 * @author: shollin
 * @date: 2021/6/20/020 21:46
 */
@Controller
@Slf4j
public class LayoutController {

    @GetMapping("/l")
    public String left(HttpServletRequest request, HttpServletResponse response, Model model) {
        log.debug("left11");
        return "left";
    }

    @GetMapping("/r")
    public String right(HttpServletRequest request, HttpServletResponse response, Model model) {
     log.debug("right");
        return "right.html";
    }
}
